package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {

    //app订单提交
    void submit(Order order);

    //订单明细列表查询
    Page<Order> findByOrder(Integer pageNum, Integer pageSize, String number, Date beginTime, Date endTime);

    //历史订单
    Page<Order> findUserPage(Integer pageNum, Integer pageSize);
}
